# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class BbsItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass


# 论坛
class ForumItem(scrapy.Item):
    # 网址
    url = scrapy.Field()
    # 主贴
    post = scrapy.Field()
    # 回帖
    replys = scrapy.Field()


# 主贴
class PostItem(scrapy.Item):
    # 作者
    author = scrapy.Field()
    # 标题
    title = scrapy.Field()
    # 内容
    content = scrapy.Field()
    # 时间
    time = scrapy.Field()


class ReplyItem(scrapy.Item):
    # 作者
    author = scrapy.Field()
    # 内容
    content = scrapy.Field()
    # 时间
    time = scrapy.Field()

